/*
	This file is part of Sandbox.

	Copyright (C) 2008  Marleine Daoud <marleine@gmail.com>

	Sandbox is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	Sandbox is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License 
	along with Sandbox.  If not, see <http://www.gnu.org/licenses/>.
*/

#import <gtk.h>
#import <search-by-type.h>
#import <search-by-borderstyle.h>
#import <search-by-fillcolor.h>
#import <search-by-linecolor.h>
#import <search-by-note.h>
#import <gtk/gtk.h>

/**
* An interface for the SearchCriteriaBox class. An interface for the 
* SearchCriteriaBox class, it inherites from class VBox. It creates the box 
* where search by example boxes are displayed. 
*
* @author Marleine Daoud
*/

@interface SearchCriteriaBox: VBox {
@public
	HBox *criteriabox;	
	Button *searchbutton;
	Button *deselectAllbutton;

	/*Label *andorTypeStylelabel;
	ComboBox *andorTypeStylecombo;
	HBox *andorTypeStylebox;

	Label *andorStyleLineColorlabel;
	ComboBox *andorStyleLineColorcombo;
	HBox *andorStyleLineColorbox;
	
	Label *andorLineFillColorlabel;
	ComboBox *andorLineFillColorcombo;
	HBox *andorLineFillColorbox;*/
	
	CheckButton *typecheckbutton;
	Label *typelabel;
	ComboBox *typecombo;
	HBox *typebox;
	
	
	//SearchByTypeUI *searchbetype;
	
	CheckButton *stylecheckbutton;
	Label *stylelabel;
	ComboBox *stylecombo;
	HBox *stylebox;
	
	
	SearchByBorderStyleUI *searchbestyle;

	CheckButton *linecolorcheckbutton;
	Label *linecolorlabel;
	HBox *linecolorbox;
	HBox *linecolorRbox;
	HBox *linecolorGbox;
	HBox *linecolorBbox;
	HBox *linecolorAbox;
	Label *linecolorRlabel;
	Label *linecolorGlabel;
	Label *linecolorBlabel;
	Label *linecolorAlabel;
	SpinButton *linecolorRspin;
	SpinButton *linecolorGspin;
	SpinButton *linecolorBspin;
	SpinButton *linecolorAspin;
	
	
	//SearchByFillColorUI *searchbefill;
	
	//SearchByLineColorUI *searchbeline;

	CheckButton *fillcolorcheckbutton;
	Label *fillcolorlabel;
	HBox *fillcolorbox;
	HBox *fillcolorRbox;
	HBox *fillcolorGbox;
	HBox *fillcolorBbox;
	HBox *fillcolorAbox;
	Label *fillcolorRlabel;
	Label *fillcolorGlabel;
	Label *fillcolorBlabel;
	Label *fillcolorAlabel;
	SpinButton *fillcolorRspin;
	SpinButton *fillcolorGspin;
	SpinButton *fillcolorBspin;
	SpinButton *fillcolorAspin;
	
	/*Label *andorFillColorNotelabel;
	ComboBox *andorFillColorNotecombo;
	HBox *andorFillColorNotebox;*/

	//SearchByNoteUI *searchbenote;
	HBox *notebox;
	CheckButton *notecheckbutton;
	Label *notelabel;
	TextView *notetext;
	GtkTextBuffer *notebuffer;
	Button *savenotebutton;
}

/**
* A method to initialize a SearchCriteriaBox instance. A method to initialize 
* the SearchCriteriaBox by allocating and initializing the box and all its 
* components included in it. 
*/

-init;

/**
* A method to free a SearchCriteriaBox instance. A method to free the 
* SearchCriteriaBox by freeing the box and all its components included in it. 
*/

-free;

/*-searchbytype;
-searchbyborderstyle;
-searchbylinebordercolor;
-searchbyfillcolor;
-searchbycomment;
*/

@end

